package com.mall.shop.entity.ware;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 库存工作单(WareOrderTask)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 13:48:07
 */
@Getter
@Setter
@TableName("wms_ware_order_task")
@Schema(name = "库存工作单实体", description = "库存工作单映射")
public class WareOrderTask implements Serializable {
    private static final long serialVersionUID = -35174986449868394L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "order_id")
    @Schema(description = "order_id")
    private Long orderId;
    
    @TableField(value = "order_sn")
    @Schema(description = "order_sn")
    private String orderSn;
    
    @TableField(value = "consignee")
    @Schema(description = "收货人")
    private String consignee;
    
    @TableField(value = "consignee_tel")
    @Schema(description = "收货人电话")
    private String consigneeTel;
    
    @TableField(value = "delivery_address")
    @Schema(description = "配送地址")
    private String deliveryAddress;
    
    @TableField(value = "order_comment")
    @Schema(description = "订单备注")
    private String orderComment;
    
    @TableField(value = "payment_way")
    @Schema(description = "付款方式【 1:在线付款 2:货到付款】")
    private Integer paymentWay;
    
    @TableField(value = "task_status")
    @Schema(description = "任务状态")
    private Integer taskStatus;
    
    @TableField(value = "order_body")
    @Schema(description = "订单描述")
    private String orderBody;
    
    @TableField(value = "tracking_no")
    @Schema(description = "物流单号")
    private String trackingNo;
    
	@TableField(value = "create_time" , fill = FieldFill.INSERT)
    @Schema(description = "create_time")
    private Date createTime;
    
    @TableField(value = "ware_id")
    @Schema(description = "仓库id")
    private Long wareId;
    
    @TableField(value = "task_comment")
    @Schema(description = "工作单备注")
    private String taskComment;
    
}

